package cn.edu.scau.cmi.duke.mybatis.entity;

public class StudentEntity {
	
private Long id;
	
	private String name;
	
	private Long number;
	
	private Teacher tutor;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public Teacher getTutor() {
		return tutor;
	}

	public void setTutor(Teacher tutor) {
		this.tutor = tutor;
	}

	@Override
	public String toString() {
		return "StudentEntity [id=" + id + ", name=" + name + ", number=" + number + ", tutor=" + tutor + "]";
	}
	
	

}
